<div class="layui-side layui-side-menu">
    <div class="layui-side-scroll">
        <div class="layui-logo" lay-href="/admin/Index/home">
            <span>后台管理系统</span>
        </div>
        <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
            {volist name="menu_list" id="menu" key="p_k"}
            <li data-name="{$menu['menu_name']}" class="layui-nav-item">
                <a href="javascript:;" lay-tips="{$menu['name']}" lay-direction="2">
                    <!--<i class="layui-icon {$menu['icon']}"></i>-->
                    <i class="{$menu['icon']}" style="margin-right: 15px;"></i>
                    <cite>{$menu['name']}</cite>
                </a>
                <dl class="layui-nav-child">
                    {volist name="menu['child']" id="child_menu" key="key"}
                    <dd data-name="content_{$key}" >
                    <a href="javascript:;">{$child_menu['name']}</a>
                    <dl class="layui-nav-child">
                        {if(is_array($child_menu['child']))}
                        {foreach $child_menu['child'] as $itemKey=>$itemVal}
                        <dd data-name="tags"><a lay-href="/admin/{$itemVal['action_url']}">{$itemVal.name}</a></dd>
                        {/foreach}
                        {/if}
                    </dl>
                    </dd>
                    {/volist}
                </dl>
            </li>
            {/volist}
        </ul>
    </div>
</div>
